<?php

namespace app\api\controller;

/**
 * Description of Uploader
 *
 * @author DevPHP
 * @version 2018-4-8
 */
class Uploader {
    public function do_upload(){
        // 上传文件，支持市面各大对象存储服务
        $save_type= \think\facade\Request::param("save_type");
        switch($save_type){
            case 'file':
                break;
            case 'ali_oss':
                break;
            case 'qiniu':
                break;
            case 'qcloud_block':
                break;
        }
        $return=['status'=>1,'info'=>''];
        return json_encode($return);
    }
    
}
